package com.yy.invoice.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class InvoiceExcel {
    private static final long serialVersionUID = 1L;
    /**
     * 发票代码
     */
    @ExcelProperty("发票代码")
    private String invoiceCode;

    /**
     * 发票号码
     */
    @ExcelProperty("发票号码")
    private String invoiceNum;

    /**
     * 发票开出时间
     */
    @ExcelProperty("开票日期")
    private String invoiceDate;


    /**
     * 校验码后面6位
     */
    @ExcelProperty("校验码后6位")
    private String validate;

    /**
     * 总计
     */
    @ExcelProperty("发票总金额")
    private String totalAmount;
}
